package com.woniu.sharepark.leasesystem.common.service;

import com.woniu.sharepark.common.JsonResult;
import com.woniu.sharepark.leasesystem.common.dto.IDCardDTO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


/**
 * 此为身份证识别信息的对应接口
 *
 * @Author Zongjie.Li
 * @Date 2019/6/3
 */
public interface IDCardService {

    JsonResult idCardVerify(IDCardDTO idCardDTO) throws IOException;

    /**
    * 行驶证id
    * @title drivingIdCard
    * @param drivingImg
    * @return com.woniu.sharepark.common.JsonResult
    * @author DELL
    * @date 2019/6/10 0:16
    **/

    JsonResult drivingIdCard(MultipartFile drivingImg);

    /**
    * 是否进行实名认证和行驶证认证
    * @title checkIdCardAndDriving
    * @param uId
    * @return com.woniu.sharepark.common.JsonResult
    * @author DELL
    * @date 2019/6/20 16:31
    **/

    JsonResult checkIdCardAndDriving(Integer uId);
}
